package com.xiaol.business.service.user;

import com.xiaol.business.model.User;

import java.util.List;

public interface UserService {

    int addUser(User user);

    int deleteUserById(Integer userId);

    int updateUserById(User user);

    User queryUserById(Integer userId);

    List<User> queryUserList();

    List<User> queryUserByPage(Integer pageNum, Integer pageSize);

    boolean transactionTest();
}
